﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.WindowsAPICodePack;

namespace WindowsFormsApp1
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void btnReadFile_Click(object sender, EventArgs e)
        {
            OpenFileDialog ofd=new OpenFileDialog();
            ofd.Multiselect = true; 
            if (ofd.ShowDialog() == DialogResult.OK) 
            {
                string[] files = ofd.FileNames;
                //ucFastObjectListView1.FileNames = files.ToList();
                ucLsv.SetDataSource(files);
            }
            //Microsoft.WindowsAPICodePack.Dialogs.CommonOpenFileDialog ofd = new CommonOpenFileDialog();
        }
    }
}
